package com.fortune.rainshinecommon.model.system;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fortune.rainshinecommon.base.BaseModel;

/**
 * @program: rainShine
 * @description: 顾客会员卡
 * @author: zhangxin
 * @create: 2019-03-16
 **/
@TableName("customer_cards")  
public class CustomerCardModel extends BaseModel {

	private static final long serialVersionUID = -4841457106532567247L;
	
	private String cardCode;//会员卡编号
    private String customerCode;//顾客code
    private String cardName;//会员卡类型
//    private Integer cardType;//会员卡类型
    private Integer cardTimes;//会员卡原始次数
    private Integer serviceTimes;//会员卡剩余次数
    private Integer shopId;//购买会员卡的商店
    private Integer cardId;//会员卡id
    @TableField(exist = false)
    private Integer customerId;//顾客id
    @TableField(exist = false)
    private String customerName;//顾客姓名
    @TableField(exist = false)
    private String customerPhone;//顾客手机号
    
	public String getCardCode() {
		return cardCode;
	}
	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getCardName() {
		return cardName;
	}
	public void setCardName(String cardName) {
		this.cardName = cardName;
	}
//	public Integer getCardType() {
//		return cardType;
//	}
//	public void setCardType(Integer cardType) {
//		this.cardType = cardType;
//	}
	public Integer getCardTimes() {
		return cardTimes;
	}
	public void setCardTimes(Integer cardTimes) {
		this.cardTimes = cardTimes;
	}
	public Integer getServiceTimes() {
		return serviceTimes;
	}
	public void setServiceTimes(Integer serviceTimes) {
		this.serviceTimes = serviceTimes;
	}
	public Integer getShopId() {
		return shopId;
	}
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	public Integer getCardId() {
		return cardId;
	}
	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}
	public Integer getCustomerId() {
		return customerId;
	}
	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	public String getCustomerPhone() {
		return customerPhone;
	}
	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}
	
	
}
